mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-07 03:38:53 -05:00
Typos
This commit is contained in:
parent
7bcb439b67
commit
9c07fe130e
@ -167,7 +167,7 @@ class General:
|
||||
data = "```\n"
|
||||
data += "Name: " + server.name + "\n"
|
||||
data += "ID: " + server.id + "\n"
|
||||
data += "Region: " + server.region.name + "\n"
|
||||
data += "Region: " + str(server.region) + "\n"
|
||||
data += "Users: " + online + "/" + total + "\n"
|
||||
data += "Channels: " + str(len(server.channels)) + "\n"
|
||||
data += "Roles: " + str(len(server.roles)) + "\n"
|
||||
@ -213,9 +213,9 @@ class General:
|
||||
self.poll_sessions.append(p)
|
||||
await p.start()
|
||||
else:
|
||||
await self.bot.say("`poll question;option1;option2 (...)`")
|
||||
await self.bot.say("poll question;option1;option2 (...)")
|
||||
else:
|
||||
await self.bot.say("`A poll is already ongoing in this channel.`")
|
||||
await self.bot.say("A poll is already ongoing in this channel.")
|
||||
|
||||
async def endpoll(self, message):
|
||||
if self.getPollByChannel(message):
|
||||
@ -223,9 +223,9 @@ class General:
|
||||
if p.author == message.author.id: # or isMemberAdmin(message)
|
||||
await self.getPollByChannel(message).endPoll()
|
||||
else:
|
||||
await self.bot.say("`Only admins and the author can stop the poll.`")
|
||||
await self.bot.say("Only admins and the author can stop the poll.")
|
||||
else:
|
||||
await self.bot.say("`There's no poll ongoing in this channel.`")
|
||||
await self.bot.say("There's no poll ongoing in this channel.")
|
||||
|
||||
def getPollByChannel(self, message):
|
||||
for poll in self.poll_sessions:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user