All of these tests were done before using any modlog settings.
- Traceback:
E:\Documents\Python Projects\Red-DiscordBot-v3\Bot\redbot\cogs\mod\checks.py:33: RuntimeWarning: coroutine 'Red.is_owner' was never awaited
if ctx.bot.is_owner(author) or guild.owner == author:
- Response:
Error ...
- Traceback:
E:\Documents\Python Projects\Red-DiscordBot-v3\Bot\redbot\cogs\mod\mod.py:779: RuntimeWarning: coroutine 'is_allowed_by_hierarchy' was never awaited
elif not is_allowed_by_hierarchy(self.bot, self.settings, guild, author, user):
[19/09/2017 10:45] ERROR events on_command_error 96: Exception in command 'mute channel'
Traceback (most recent call last):
File "E:\Documents\Python Projects\Red-DiscordBot-v3\.env\lib\site-packages\discord\ext\commands\core.py", line 62, in wrapped
ret = yield from coro(*args, **kwargs)
File "E:\Documents\Python Projects\Red-DiscordBot-v3\Bot\redbot\cogs\mod\mod.py", line 716, in channel_mute
success, issue = await self.mute_user(guild, channel, author, user, audit_reason)
File "E:\Documents\Python Projects\Red-DiscordBot-v3\Bot\redbot\cogs\mod\mod.py", line 782, in mute_user
perms_cache[str(channel.id)] = overwrites.send_messages
TypeError: 'coroutine' object does not support item assignment
Ignoring exception in message_edit
Traceback (most recent call last):
File "E:\Documents\Python Projects\Red-DiscordBot-v3\.env\lib\site-packages\discord\client.py", line 213, in _run_event
yield from coro(*args, **kwargs)
File "E:\Documents\Python Projects\Red-DiscordBot-v3\Bot\redbot\cogs\mod\filter.py", line 136, in on_message_edit
if message.server is None or self.bot.user == author:
AttributeError: 'Message' object has no attribute 'server'
E:\Documents\Python Projects\Red-DiscordBot-v3\.env\lib\site-packages\raven\breadcrumbs.py:50: RuntimeWarning: coroutine 'Value._get' was never awaited
del self.buffer[:-self.limit]
- Response: That action type is not registered
- Note: Still banned user and deleted 1 day worth of messages
- Traceback:
E:\Documents\Python Projects\Red-DiscordBot-v3\Bot\redbot\cogs\mod\mod.py:323: RuntimeWarning: coroutine 'is_allowed_by_hierarchy' was never awaited
elif not is_allowed_by_hierarchy(self.bot, self.settings, guild, author, user):
[19/09/2017 11:03] INFO mod ban 346: Tobotimus(147686531014852615) banned ToboTest5(354834205034938370), deleting 1 days worth of messages
E:\Documents\Python Projects\Red-DiscordBot-v3\Bot\redbot\cogs\mod\mod.py:360: RuntimeWarning: coroutine 'get_modlog_channel' was never awaited
return
That action type is not registered!
E:\Documents\Python Projects\Red-DiscordBot-v3\Bot\redbot\cogs\mod\mod.py:1128: RuntimeWarning: coroutine 'get_modlog_channel' was never awaited
print(e)
- Response: That action type is not registered
- Note: Still kicked user and reason still appeared in audit log
- Traceback:
[19/09/2017 11:10] DEBUG json_io _save_json 29: Saving file E:\Documents\Python Projects\Red-DiscordBot-v3\.data\cogs\Mod\settings.json
E:\Documents\Python Projects\Red-DiscordBot-v3\Bot\redbot\cogs\mod\mod.py:283: RuntimeWarning: coroutine 'is_allowed_by_hierarchy' was never awaited
elif not is_allowed_by_hierarchy(self.bot, self.settings, guild, author, user):
[19/09/2017 11:13] INFO mod kick 292: Tobotimus(147686531014852615) kicked ToboTest5(354834205034938370)
E:\Documents\Python Projects\Red-DiscordBot-v3\Bot\redbot\cogs\mod\mod.py:306: RuntimeWarning: coroutine 'get_modlog_channel' was never awaited
return
- Response: That action type is not registered!
- Note: Still banned user and reason appeared in modlog
- Traceback:
[19/09/2017 11:16] INFO mod hackban 389: Tobotimus(147686531014852615) hackbanned 354834205034938370
That action type is not registered!
E:\Documents\Python Projects\Red-DiscordBot-v3\Bot\redbot\cogs\mod\mod.py:406: RuntimeWarning: coroutine 'get_modlog_channel' was never awaited
return
- Response:
Error ...
- Note: Didn't unban user
- Traceback:
[19/09/2017 11:08] ERROR events on_command_error 96: Exception in command 'unban'
Traceback (most recent call last):
File "E:\Documents\Python Projects\Red-DiscordBot-v3\.env\lib\site-packages\discord\ext\commands\core.py", line 62, in wrapped
ret = yield from coro(*args, **kwargs)
File "E:\Documents\Python Projects\Red-DiscordBot-v3\Bot\redbot\cogs\mod\mod.py", line 488, in unban
user = await self.bot.get_user(user_id)
TypeError: object User can't be used in 'await' expression
- Response:
Error ...
- Note: Didn't kick user or delete any messages
- Traceback:
[19/09/2017 11:35] ERROR events on_command_error 96: Exception in command 'softban'
Traceback (most recent call last):
File "E:\Documents\Python Projects\Red-DiscordBot-v3\.env\lib\site-packages\discord\ext\commands\core.py", line 62, in wrapped
ret = yield from coro(*args, **kwargs)
File "E:\Documents\Python Projects\Red-DiscordBot-v3\Bot\redbot\cogs\mod\mod.py", line 430, in softban
invite = await self.get_invite_for_reinvite(ctx)
File "E:\Documents\Python Projects\Red-DiscordBot-v3\Bot\redbot\cogs\mod\mod.py", line 540, in get_invite_for_reinvite
permissions = guild.default_channel.permissions_for(guild.me)
AttributeError: 'Guild' object has no attribute 'default_channel'
- Response: Channel already in ignore list.
- Note: I hadn't ignored this channel before, or any channel for that matter
- Traceback:
[19/09/2017 11:18] DEBUG json_io _save_json 29: Saving file E:\Documents\Python Projects\Red-DiscordBot-v3\.data\cogs\Mod\settings.json
E:\Documents\Python Projects\Red-DiscordBot-v3\Bot\redbot\cogs\mod\mod.py:951: RuntimeWarning: coroutine 'Value._get' was never awaited
if not self.settings.channel(channel).ignored():
- Same as
ignore channel
- Response: No mod log channel set for guild
- Note: It still muted and deafened the user, so it should probably confirm that, modlog being set isn't really important
- Response:
Error ...
- Traceback:
[19/09/2017 11:32] ERROR events on_command_error 96: Exception in command 'voiceunban'
Traceback (most recent call last):
File "E:\Documents\Python Projects\Red-DiscordBot-v3\.env\lib\site-packages\discord\ext\commands\core.py", line 62, in wrapped
ret = yield from coro(*args, **kwargs)
File "E:\Documents\Python Projects\Red-DiscordBot-v3\Bot\redbot\cogs\mod\mod.py", line 607, in voiceunban
needs_unmute = True if user_voice_state.mute else False
AttributeError: 'NoneType' object has no attribute 'mute'
- Traceback:
Ignoring exception in member_unban
Traceback (most recent call last):
File "E:\Documents\Python Projects\Red-DiscordBot-v3\.env\lib\site-packages\discord\client.py", line 213, in _run_event
yield from coro(*args, **kwargs)
File "E:\Documents\Python Projects\Red-DiscordBot-v3\Bot\redbot\cogs\mod\mod.py", line 1144, in on_member_unban
if "Reason:" in reason: # Would be the case if event is triggered by a command
TypeError: argument of type 'NoneType' is not iterable