Skip to content

Commit 7e7adbc

Browse files
committed
2 parents 160c894 + b00f36f commit 7e7adbc

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

bot.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ async def set_default_status():
8888
os._exit(1)
8989
status = discord.Activity(name=name, url="http://twitch.tv/ZeroEpoch1969", type=discord.ActivityType.streaming)
9090
else:
91-
status = discord.Game(name=name, type=discord.ActivityType.playing)
91+
status = discord.Activity(name=name, type=discord.ActivityType.playing)
9292
await bot.change_presence(status=type, activity=status)
9393
else:
9494
await bot.change_presence(status=type)

commands/music.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
from discord.ext import commands
88
from utils.mysql import *
99
from utils.opus_loader import load_opus_lib
10-
from utils.config import Config;
10+
from utils.config import Config
1111
from utils.language import Language
1212

1313
load_opus_lib()

commands/nsfw.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ async def gelbooru(self, ctx, *, tags:str):
129129
images = []
130130
for i in range(image_count):
131131
try:
132-
images.append("http:{}".format(data[random.randint(0, count)]["file_url"]))
132+
images.append("{}".format(data[random.randint(0, count)]["file_url"]))#http isn't needed
133133
except KeyError:
134134
await ctx.send(data["message"])
135135
return

0 commit comments

Comments
 (0)