mirror of
https://github.com/RYGhub/royalnet.git
synced 2024-11-23 19:44:20 +00:00
197
This commit is contained in:
parent
27c4338dab
commit
0fd45cca6f
2 changed files with 2 additions and 2 deletions
|
@ -366,7 +366,7 @@ class RoyalDiscordBot(discord.Client):
|
|||
message = ""
|
||||
# Find all the channels
|
||||
for member in discord_members:
|
||||
if member.voice.channel is not None:
|
||||
if member.voice is not None:
|
||||
channel = members_in_channels.get(member.voice.channel.id)
|
||||
if channel is None:
|
||||
members_in_channels[member.voice.channel.id] = list()
|
||||
|
|
|
@ -510,7 +510,7 @@ def process(arg_discord_connection):
|
|||
u = Updater(config["Telegram"]["bot_token"])
|
||||
u.dispatcher.add_handler(CommandHandler("register", cmd_register))
|
||||
u.dispatcher.add_handler(CommandHandler("discord", cmd_discord))
|
||||
# u.dispatcher.add_handler(CommandHandler("cv", cmd_discord))
|
||||
u.dispatcher.add_handler(CommandHandler("cv", cmd_discord))
|
||||
u.dispatcher.add_handler(CommandHandler("cast", cmd_cast))
|
||||
u.dispatcher.add_handler(CommandHandler("color", cmd_color))
|
||||
u.dispatcher.add_handler(CommandHandler("smecds", cmd_smecds))
|
||||
|
|
Loading…
Reference in a new issue