mirror of
https://github.com/miaowware/qrm2.git
synced 2025-02-03 09:44:07 -05:00
Merge pull request #136 from classabbyamp/info-server
official server in info command
This commit is contained in:
commit
48e5040a87
@ -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/SwyjdDN)
|
||||
|
||||
A discord bot with ham radio functionalities.
|
||||
|
||||
|
@ -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)
|
||||
|
||||
|
1
info.py
1
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'
|
||||
|
Loading…
Reference in New Issue
Block a user