Skip to content

Commit 757bcd8

Browse files
committed
Merge branch 'master' of https://github.com/verixx/modmail
2 parents 7aed97e + afe3a27 commit 757bcd8

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

cogs/utility.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -298,13 +298,13 @@ async def hastebin(self, ctx):
298298
logs = f.read().strip()
299299

300300
try:
301-
async with self.bot.session.post('https://hastebin.com/documents',
301+
async with self.bot.session.post('https://hasteb.in/documents',
302302
data=logs) as resp:
303303
key = (await resp.json())["key"]
304304
embed = Embed(
305305
title='Debug Logs',
306306
color=self.bot.main_color,
307-
description=f'https://hastebin.com/' + key
307+
description=f'https://hasteb.in/' + key
308308
)
309309
except (JSONDecodeError, ClientResponseError, IndexError):
310310
embed = Embed(
@@ -410,7 +410,7 @@ async def update(self, ctx):
410410

411411
@commands.command(aliases=['presence'])
412412
@checks.has_permissions(administrator=True)
413-
async def activity(self, ctx, activity_type: str, *, message: str = ''):
413+
async def activity(self, ctx, activity_type: str.lower, *, message: str = ''):
414414
"""
415415
Set a custom activity for the bot.
416416
@@ -463,7 +463,7 @@ async def activity(self, ctx, activity_type: str, *, message: str = ''):
463463

464464
@commands.command()
465465
@checks.has_permissions(administrator=True)
466-
async def status(self, ctx, *, status_type: str):
466+
async def status(self, ctx, *, status_type: str.lower):
467467
"""
468468
Set a custom status for the bot.
469469

0 commit comments

Comments
 (0)