Getting rid of Exit()

pull/2/head
sgoudham 4 years ago
parent 90564fe94c
commit 855c3f2bcf

@ -150,7 +150,6 @@ class Waifus(commands.Cog):
# Send the list of members in the bot to the channel # Send the list of members in the bot to the channel
server_members = string.capwords(', '.join(map(str, array))) server_members = string.capwords(', '.join(map(str, array)))
await ctx.send(server_members) await ctx.send(server_members)
exit()
# Surround with try/except to catch any exceptions that may occur # Surround with try/except to catch any exceptions that may occur
try: try:
@ -227,7 +226,6 @@ class Waifus(commands.Cog):
# Send the list of waifus in the bot to the channel # Send the list of waifus in the bot to the channel
waifu_list = string.capwords(', '.join(map(str, waifu_array))) waifu_list = string.capwords(', '.join(map(str, waifu_array)))
await ctx.send(waifu_list) await ctx.send(waifu_list)
exit()
# Surround with try/except to catch any exceptions that may occur # Surround with try/except to catch any exceptions that may occur
try: try:

Loading…
Cancel
Save