Merge pull request #49 from suppai/master

Don't advertise a bot ReSwitched doesn't have
This commit is contained in:
Ave 2019-09-14 18:40:55 +03:00 committed by GitHub
commit 922f2ac37d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -14,7 +14,8 @@ class Err(Cog):
self.wiiu_re = re.compile(r'1\d{2}\-\d{4}') self.wiiu_re = re.compile(r'1\d{2}\-\d{4}')
self.switch_re = re.compile(r'2\d{3}\-\d{4}') self.switch_re = re.compile(r'2\d{3}\-\d{4}')
self.no_err_desc = "It seems like your error code is unknown. "\ self.no_err_desc = "It seems like your error code is unknown. "\
"Try using https://github.com/atlasnx/betch. " "You can check on Switchbrew for your error code at "\
"<https://switchbrew.org/wiki/Error_codes>"
self.rickroll = "https://www.youtube.com/watch?v=z3ZiVn5L9vM" self.rickroll = "https://www.youtube.com/watch?v=z3ZiVn5L9vM"
@commands.command(aliases=["3dserr", "3err", "dserr"]) @commands.command(aliases=["3dserr", "3err", "dserr"])
@ -135,7 +136,7 @@ class Err(Cog):
if "ban" in err_description: if "ban" in err_description:
embed.set_footer("F to you | Console: Switch") embed.set_footer("F to you | Console: Switch")
else: else:
embed.set_footer(text="Console: Switch | OUTDATED - Try using: https://github.com/atlasnx/betch") embed.set_footer(text="Console: Switch")
await ctx.send(embed=embed) await ctx.send(embed=embed)