diff --git a/cogs/general.py b/cogs/general.py index 50d311655..2256e7ec7 100644 --- a/cogs/general.py +++ b/cogs/general.py @@ -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: