Fixed typos.

This commit is contained in:
officereso 2019-12-21 15:29:43 -06:00
parent fce26e0664
commit 95afd6a976

View File

@ -19,7 +19,7 @@ class AddServer(commands.Cog):
async def on_message(self, ctx):
if isinstance(ctx.channel, discord.DMChannel):
if ctx.content.lower() == "add server":
await ctx.channel.send("Send me an invite to the server. Say cancel anytime to cancel.")
await ctx.channel.send("Send me an invite to the server. Say ``cancel`` anytime to cancel.")
try:
invite = await self.client.wait_for("message", check=lambda message: message.author == ctx.author
and message.channel == ctx.channel, timeout=20)
@ -45,7 +45,7 @@ class AddServer(commands.Cog):
timeout=60)
if description.content == "cancel":
await ctx.channel.send("Process canceled. If need be have "
"this pretyped")
"this pre typed")
else:
await ctx.channel.send("Please send a list of tags separated by a "
"comma(,) no spaces")
@ -73,10 +73,21 @@ class AddServer(commands.Cog):
await self.client.\
get_channel(656997125627969546).\
send("<@305589587215122432>")
else:
await ctx.channel.send("Cannot verify server ownership. "
"Either you are not the guild owner or "
"the bot has not been added to verify ownership.\n"
"Add the bot here : https://discordapp.com/api/oauth2"
"/authorize?client_"
"id=501485906801459200&permissions=1024"
"&scope=bot\n"
"Once the bot is added restart the verification process "
"using ``add server`` in this DM\n"
"After ownership is verified the bot can be removed.")
except AttributeError:
await ctx.channel.send("Cannot verify server ownership. "
"Either you are not the guild owner or"
"Either you are not the guild owner or "
"the bot has not been added to verify ownership.\n"
"Add the bot here : https://discordapp.com/api/oauth2"
"/authorize?client_id=501485906801459200&permissions=1024"