core-hacked / Discondelete

Discord self-bot to delete dm's or purge all messages from a guild.
MIT License
10 stars 6 forks source link

Bugfixes #9

Closed amw720386 closed 1 week ago

amw720386 commented 3 weeks ago

Can't seem to get the script to work without these updates to the script

Without the line: containsnumbers = False

i get the following error:

UnboundLocalError: cannot access local variable 'containsnumbers' where it is not associated with a value

Without the updates to the args.nooutput line i get the following error:

AttributeError: 'Namespace' object has no attribute 'nooutput'. Did you mean: 'output'?

core-hacked commented 2 weeks ago

I will review these changes soon.. maybe even try and fix / update the script myself.. Thanks!

xbubbo commented 2 weeks ago

This seems to fix the Purge Server Command