|
7 | 7 | """ |
8 | 8 |
|
9 | 9 |
|
| 10 | +import inspect |
10 | 11 | import random |
11 | 12 | import re |
12 | 13 | from typing import Union, Iterable |
@@ -187,11 +188,11 @@ async def _info(self, ctx: commands.Context): |
187 | 188 | """Shows info about qrm.""" |
188 | 189 | embed = cmn.embed_factory(ctx) |
189 | 190 | embed.title = "About qrm" |
190 | | - embed.description = info.description |
| 191 | + embed.description = inspect.cleandoc(info.description) |
191 | 192 | embed.add_field(name="Authors", value=", ".join(info.authors)) |
192 | 193 | embed.add_field(name="License", value=info.license) |
193 | 194 | embed.add_field(name="Version", value=f"v{info.release} {'(`' + self.commit + '`)' if self.commit else ''}") |
194 | | - embed.add_field(name="Contributing", value=info.contributing, inline=False) |
| 195 | + embed.add_field(name="Contributing", value=inspect.cleandoc(info.contributing), inline=False) |
195 | 196 | embed.add_field(name="Official Server", value=info.bot_server, inline=False) |
196 | 197 | embed.add_field(name="Donate", value="\n".join(f"{k}: {v}" for k, v in self.donation_links.items()), |
197 | 198 | inline=False) |
@@ -255,11 +256,7 @@ async def _issue(self, ctx: commands.Context): |
255 | 256 | """Shows how to create a bug report or feature request about the bot.""" |
256 | 257 | embed = cmn.embed_factory(ctx) |
257 | 258 | embed.title = "Found a bug? Have a feature request?" |
258 | | - embed.description = """Submit an issue on the [issue tracker](https://github.com/miaowware/qrm2/issues)! |
259 | | -
|
260 | | - All issues and requests related to resources (including maps, band charts, data) \ |
261 | | - should be added in \ |
262 | | - [miaowware/qrm-resources](https://github.com/miaowware/qrm-resources/issues).""" |
| 259 | + embed.description = inspect.cleandoc(info.issue_tracker) |
263 | 260 | await ctx.send(embed=embed) |
264 | 261 |
|
265 | 262 | @commands.command(name="donate", aliases=["tip"], category=cmn.BoltCats.INFO) |
|
0 commit comments