Skip to content

Commit 3f385a2

Browse files
committed
fix error
1 parent d43e7fa commit 3f385a2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bot.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ async def about(self, ctx):
259259
'easily communicate with server leadership in an organised manner.'
260260

261261
try:
262-
async with self.session.get('https://api.kybr.tk/modmail'):
262+
async with self.session.get('https://api.kybr.tk/modmail') as resp:
263263
meta = await resp.json()
264264
except:
265265
meta = None
@@ -275,7 +275,7 @@ async def about(self, ctx):
275275
if __version__ != meta['latest_version']:
276276
footer = f"Latest version available is {meta['latest_version']}"
277277

278-
em.add_field(name='Github', value='https://github.com/kyb3r/modmail')
278+
em.add_field(name='Github', value='https://github.com/kyb3r/modmail', inline=False)
279279

280280
em.set_footer(text=footer)
281281

0 commit comments

Comments
 (0)