cmd_help.py 文件源码

python
阅读 23 收藏 0 点赞 0 评论 0

项目:tobypythonbot 作者: TobyyTheCoder 项目源码 文件源码
def ex(args, message, client, invoke):
    args_out = ""
    if len(args) > 0:
        args_out = "\n\n*Attached arguments: %s*" % args.__str__()[1:-1].replace("'", "")
    yield from client.send_message(message.channel, "Check your direct messages! I slid in!")
    yield from client.send_message(message.author, "Hey! Thanks for typing ?help, here's a list of commands which should hopefully be of some use to you - here they are:\n\n**?ping** - Returns a message saying 'PONG!'\n**?help** - Sends you this message.\n\nMore to come in the future!\n\nBot coded by: Tobyy\nOfficial Support Server: https://discord.gg/VurEzsA\n\nEnjoy!")
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号