add official server to info command.

Fixes #134
This commit is contained in:
Abigail 2019-12-24 21:04:59 -05:00
parent 02192a7ea9
commit 3da67ad6a2
2 changed files with 2 additions and 0 deletions

View File

@ -103,6 +103,7 @@ class BaseCog(commands.Cog):
embed.add_field(name="License", value=info.license) embed.add_field(name="License", value=info.license)
embed.add_field(name="Version", value=f'v{info.release}') embed.add_field(name="Version", value=f'v{info.release}')
embed.add_field(name="Contributing", value=info.contributing, inline=False) embed.add_field(name="Contributing", value=info.contributing, inline=False)
embed.add_field(name="Official Server", value=info.bot_server, inline=False)
embed.set_thumbnail(url=str(self.bot.user.avatar_url)) embed.set_thumbnail(url=str(self.bot.user.avatar_url))
await ctx.send(embed=embed) await ctx.send(embed=embed)

View File

@ -25,3 +25,4 @@ description = """A bot with various useful ham radio-related functions, written
license = "Released under the GNU General Public License v2" license = "Released under the GNU General Public License v2"
contributing = "Check out the source on GitHub, contributions welcome: https://github.com/classabbyamp/discord-qrm2" contributing = "Check out the source on GitHub, contributions welcome: https://github.com/classabbyamp/discord-qrm2"
release = '2.0.0' release = '2.0.0'
bot_server = 'https://discord.gg/Ntbg3J4'