We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e3daf07 commit 11bdf44Copy full SHA for 11bdf44
spam/spam.py
@@ -121,6 +121,18 @@ async def text(self, ctx):
121
msg = "**Blocked Text:**\n"+msg
122
await menu(ctx, list(pagify(msg)), DEFAULT_CONTROLS)
123
124
+ @_list.command()
125
+ async def textall(self, ctx):
126
+ """ Shows a list of blocked texts"""
127
+ strings = await self.config.guild(ctx.guild).strings()
128
+ msg = ""
129
+ for key in strings:
130
+ msg += "**{}** ({}) \n".format(key, strings[key])
131
+ if not msg:
132
+ await ctx.maybe_send_embed("List is empty.")
133
+ msg = "**Blocked Text:**\n"+msg
134
+ await menu(ctx, list(pagify(text=msg, page_length=999999999)), DEFAULT_CONTROLS)
135
+
136
@_list.command()
137
async def server(self, ctx):
138
""" Shows a list of blocked servers """
0 commit comments