mirror of
https://github.com/brandons209/Red-bot-Cogs.git
synced 2024-06-17 09:54:49 +12:00
accidently put in code at top
This commit is contained in:
parent
6cf5a2f326
commit
6d0fa3e163
|
@ -1,4 +1,4 @@
|
||||||
limit=2# redbot/discord
|
# redbot/discord
|
||||||
from redbot.core.utils.chat_formatting import *
|
from redbot.core.utils.chat_formatting import *
|
||||||
from redbot.core import Config, checks, commands, modlog
|
from redbot.core import Config, checks, commands, modlog
|
||||||
from redbot.core.data_manager import cog_data_path
|
from redbot.core.data_manager import cog_data_path
|
||||||
|
@ -209,6 +209,8 @@ class ActivityLogger(commands.Cog):
|
||||||
activity = "Listening to {}".format(user.activity.name)
|
activity = "Listening to {}".format(user.activity.name)
|
||||||
elif user.activity.type == discord.ActivityType.watching:
|
elif user.activity.type == discord.ActivityType.watching:
|
||||||
activity = "Watching {}".format(user.activity.name)
|
activity = "Watching {}".format(user.activity.name)
|
||||||
|
else:
|
||||||
|
activity = None
|
||||||
|
|
||||||
if roles:
|
if roles:
|
||||||
roles = " ".join([x.mention for x in roles])
|
roles = " ".join([x.mention for x in roles])
|
||||||
|
|
Loading…
Reference in a new issue