From 3da67ad6a2ec3d09a8ac349a5c6327d5eb935cfa Mon Sep 17 00:00:00 2001 From: Abigail Date: Tue, 24 Dec 2019 21:04:59 -0500 Subject: [PATCH 1/3] add official server to info command. Fixes #134 --- exts/base.py | 1 + info.py | 1 + 2 files changed, 2 insertions(+) diff --git a/exts/base.py b/exts/base.py index b629bba..ac27013 100644 --- a/exts/base.py +++ b/exts/base.py @@ -103,6 +103,7 @@ class BaseCog(commands.Cog): embed.add_field(name="License", value=info.license) embed.add_field(name="Version", value=f'v{info.release}') 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)) await ctx.send(embed=embed) diff --git a/info.py b/info.py index 4a51919..ac5abd1 100644 --- a/info.py +++ b/info.py @@ -25,3 +25,4 @@ description = """A bot with various useful ham radio-related functions, written license = "Released under the GNU General Public License v2" contributing = "Check out the source on GitHub, contributions welcome: https://github.com/classabbyamp/discord-qrm2" release = '2.0.0' +bot_server = 'https://discord.gg/Ntbg3J4' From 4bf398a0de6fe73da67e25c77e3250cfb83d284f Mon Sep 17 00:00:00 2001 From: Abigail Date: Tue, 24 Dec 2019 21:12:59 -0500 Subject: [PATCH 2/3] update shield in README (change shield graphic and fixed invite link) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index a17d875..aacabf8 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # qrm, a Bot for Discord -[![Discord](https://img.shields.io/discord/656888365886734340?color=7289DA&label=Discord)](https://discordapp.com/invite/zakrCD) +[![Discord](https://discordapp.com/api/guilds/656888365886734340/widget.png?style=shield)](https://discord.gg/Ntbg3J4) A discord bot with ham radio functionalities. From aa73f575b5f375822d9540fe1f3e31f9a4bf2188 Mon Sep 17 00:00:00 2001 From: Abigail Date: Wed, 25 Dec 2019 01:55:25 -0500 Subject: [PATCH 3/3] change readme invite --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index aacabf8..e95facd 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # qrm, a Bot for Discord -[![Discord](https://discordapp.com/api/guilds/656888365886734340/widget.png?style=shield)](https://discord.gg/Ntbg3J4) +[![Discord](https://discordapp.com/api/guilds/656888365886734340/widget.png?style=shield)](https://discord.gg/SwyjdDN) A discord bot with ham radio functionalities.