updated readme

This commit is contained in:
Klemek
2021-04-09 15:00:53 +02:00
parent 6a70663201
commit 737806a4ba
2 changed files with 3 additions and 1 deletions
+2
View File
@@ -21,6 +21,7 @@
* %first - read first message * %first - read first message
* %rand - read a random message * %rand - read a random message
* %last - read last message * %last - read last message
* %gdpr - displays GDPR information
* %emojis - rank emotes by their usage * %emojis - rank emotes by their usage
* arguments: * arguments:
* <n> - top <n> emojis, default is 20 * <n> - top <n> emojis, default is 20
@@ -107,6 +108,7 @@ python3 src/main.py
* **v1.13** * **v1.13**
* improved scan `%words` * improved scan `%words`
* remove old and unused logs at start and guild leaving * remove old and unused logs at start and guild leaving
* GDPR disclaimer before scanning
* **v1.12** * **v1.12**
* more scans: `%words` * more scans: `%words`
* concurrent `fast` analysis * concurrent `fast` analysis
+1 -1
View File
@@ -59,7 +59,7 @@ async def process(client: discord.client, message: discord.Message, *args: str):
elif args[1] in ["agree", "accept"]: elif args[1] in ["agree", "accept"]:
GuildLogs.init_log(message.channel.guild) GuildLogs.init_log(message.channel.guild)
await message.channel.send(AGREE_TEXT, reference=message) await message.channel.send(AGREE_TEXT, reference=message)
elif args[1] in ["revoke", "cancel"]: elif args[1] in ["revoke", "cancel", "remove", "delete"]:
GuildLogs.remove_log(message.channel.guild) GuildLogs.remove_log(message.channel.guild)
await message.channel.send(REVOKE_TEXT, reference=message) await message.channel.send(REVOKE_TEXT, reference=message)
else: else: