Remove broken cycling status
This commit is contained in:
10
aquabot.py
10
aquabot.py
@@ -43,15 +43,6 @@ for cog in loadconfig.__cogs__:
|
|||||||
else:
|
else:
|
||||||
print(f"SUCCESS: Loaded {cog}")
|
print(f"SUCCESS: Loaded {cog}")
|
||||||
|
|
||||||
# ACTIVITY
|
|
||||||
async def activity():
|
|
||||||
while True:
|
|
||||||
new_activity = random.choice(loadconfig.__activity__)
|
|
||||||
status = f"{new_activity[1]} | {loadconfig.__prefix__}aquabot"
|
|
||||||
activity = discord.Activity(name=status, type=new_activity[0])
|
|
||||||
await bot.change_presence(activity=activity)
|
|
||||||
await asyncio.sleep(10*60) # Time in minutes
|
|
||||||
|
|
||||||
# BOT STARTING EVENT
|
# BOT STARTING EVENT
|
||||||
@bot.event
|
@bot.event
|
||||||
async def on_ready():
|
async def on_ready():
|
||||||
@@ -70,7 +61,6 @@ async def on_ready():
|
|||||||
"""
|
"""
|
||||||
print(startup)
|
print(startup)
|
||||||
|
|
||||||
#activity_loop = asyncio.ensure_future(activity())
|
|
||||||
name = f"with water | {loadconfig.__prefix__}aquabot"
|
name = f"with water | {loadconfig.__prefix__}aquabot"
|
||||||
activity = discord.Activity(name=name, type=discord.ActivityType.playing)
|
activity = discord.Activity(name=name, type=discord.ActivityType.playing)
|
||||||
await bot.change_presence(activity=activity)
|
await bot.change_presence(activity=activity)
|
||||||
|
|||||||
@@ -1,15 +0,0 @@
|
|||||||
"""
|
|
||||||
The bot's online status rotates through this list
|
|
||||||
"""
|
|
||||||
|
|
||||||
import discord
|
|
||||||
|
|
||||||
__activity__ = [
|
|
||||||
(discord.ActivityType.watching, "Hentai"),
|
|
||||||
(discord.ActivityType.watching, "Konosuba"),
|
|
||||||
(discord.ActivityType.watching, "beach episodes"),
|
|
||||||
(discord.ActivityType.playing, "with water"),
|
|
||||||
(discord.ActivityType.playing, "with Megumin"),
|
|
||||||
(discord.ActivityType.playing, "with Sake"),
|
|
||||||
(discord.ActivityType.streaming, "Hentai")
|
|
||||||
]
|
|
||||||
Reference in New Issue
Block a user