Change to referring as names/servers
@@ -1287,11 +1287,11 @@ in the scene.
@commands.command()
@commands.cooldown(rate=1, per=5.0, type=commands.BucketType.channel)
- async def invite(self, ctx, code: str):
- """Available codes are:
+ async def invite(self, ctx, name: str):
+ """Available servers are:
twl, switchroot, acnl, flagbrew, themeplaza, smash, ndsbrew, citra, homebrew, skyrimnx, pkhexautolegality, reswitched, cemu, dragoninjector, vita, henkaku, universal, r3DS"""
- code = code.lower()
+ name = name.lower()
invites = {
'twl':'yD3spjv',
'switchroot': '9d66FYg',
@@ -1313,10 +1313,10 @@ in the scene.
'r3DS': '3ds'
}
#Rewrite thanks to Dax#5790
- if code in invites:
- await ctx.send(f"https://discord.gg/{invites[code]}")
+ if name in invites:
+ await ctx.send(f"https://discord.gg/{invites[name]}")
else:
- await ctx.send(f"Invalid invite code. Valid codes: {', '.join(invites.keys())}")
+ await ctx.send(f"Invalid invite code. Valid server names are: {', '.join(invites.keys())}")
@commands.guild_only()
@commands.command()
