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 11bdf44 commit ff0a965Copy full SHA for ff0a965
spam/spam.py
@@ -130,8 +130,9 @@ async def textall(self, ctx):
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)
+ with open("/data/cogs/CogManager/cogs/spam/blocked_text.txt", "w") as text_file:
+ text_file.write("%s" % msg)
135
+ await ctx.maybe_send_embed("List saved to file.")
136
137
@_list.command()
138
async def server(self, ctx):
0 commit comments