From 80bdb38c0a42452a6a89d4a0d8b675b3047c8cbf Mon Sep 17 00:00:00 2001 From: EncryptEx Date: Wed, 26 Oct 2022 13:34:45 +0200 Subject: [PATCH 1/6] typo --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 6729285..8171d30 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ A discord.py bot - #DISCORD HACK WEEK 2019 100% Python -For what is used for Hammer? (Use /hammer in a discord guild/server) Hammer is a moderation Bot, wich has lots of funtional commands, from the basically (warn, kick or ban) to advanced functions like automod, with about 100 blocked swear words. Also is 99.7% uptime. **#DiscordHackWeek Creation** +For what is used for Hammer? (Use /hammer in a discord guild/server) Hammer is a moderation Bot, which has lots of functional commands, from the basically (warn, kick or ban) to advanced functions like automod, with about 880 blocked swear words. Also is 99.7% uptime. **#DiscordHackWeek Creation** What and how many commands has Hemmer? (User /help in a discord guild/server and check DM.) [Or scroll down](https://github.com/limusina10/hammer#useful-comands) From 4daacbbf1068b430ee74c6e8fa0c3ccfae978216 Mon Sep 17 00:00:00 2001 From: EncryptEx Date: Wed, 26 Oct 2022 13:35:08 +0200 Subject: [PATCH 2/6] fix typo --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 8171d30..8c0f3b5 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ A discord.py bot - #DISCORD HACK WEEK 2019 For what is used for Hammer? (Use /hammer in a discord guild/server) Hammer is a moderation Bot, which has lots of functional commands, from the basically (warn, kick or ban) to advanced functions like automod, with about 880 blocked swear words. Also is 99.7% uptime. **#DiscordHackWeek Creation** -What and how many commands has Hemmer? (User /help in a discord guild/server and check DM.) [Or scroll down](https://github.com/limusina10/hammer#useful-comands) +What and how many commands has Hammer? (User /help in a discord guild/server and check DM.) [Or scroll down](https://github.com/limusina10/hammer#useful-comands) # Add the bot https://discordapp.com/api/oauth2/authorize?client_id=591633652493058068&permissions=8&scope=bot From 54bca503dfc37e5d6d3e792c435956b63760dad1 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 27 Oct 2022 17:57:44 +0000 Subject: [PATCH 3/6] Bump py-cord from 2.0.0 to 2.0.1 Bumps [py-cord](https://github.com/Pycord-Development/pycord) from 2.0.0 to 2.0.1. - [Release notes](https://github.com/Pycord-Development/pycord/releases) - [Changelog](https://github.com/Pycord-Development/pycord/blob/master/CHANGELOG.md) - [Commits](https://github.com/Pycord-Development/pycord/compare/v2.0.0...v2.0.1) --- updated-dependencies: - dependency-name: py-cord dependency-type: direct:production ... Signed-off-by: dependabot[bot] --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 5297e18..11064ea 100644 --- a/requirements.txt +++ b/requirements.txt @@ -7,7 +7,7 @@ charset-normalizer==2.1.0 frozenlist==1.3.0 idna==3.3 multidict==6.0.2 -py-cord==2.0.0 +py-cord==2.0.1 python-dotenv==0.20.0 quickchart-io==2.0.0 requests==2.28.1 From 94b35a13f2e5452ef1145e2b34cbd95bcc6c5314 Mon Sep 17 00:00:00 2001 From: EncryptEx Date: Tue, 1 Nov 2022 14:16:57 +0100 Subject: [PATCH 4/6] replaced cur to sqlite3 in eval args --- bot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot.py b/bot.py index a696025..5292fdb 100644 --- a/bot.py +++ b/bot.py @@ -726,7 +726,7 @@ async def evaluate(ctx, code): "discord": discord, "sys": sys, "os": os, - "cur": cur, + "sqlite3": sqlite3, "imp": __import__, "ctx": ctx, "bot": bot, From 213673122490d4971db3fda37f932ce4219fde08 Mon Sep 17 00:00:00 2001 From: EncryptEx Date: Tue, 8 Nov 2022 16:32:21 +0100 Subject: [PATCH 5/6] added information at the warn --- bot.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/bot.py b/bot.py index 5292fdb..fb3bc12 100644 --- a/bot.py +++ b/bot.py @@ -360,6 +360,11 @@ async def on_message(message): value=f"The removed message was \n||{bannedmessage}||", inline=True, ) + embed.add_field( + name="Not happy with this?", + value=f"Disable this feature with ``/settings automod off`` or simply ``/suggest`` a new change", + inline=True, + ) await message.channel.send(embed=embed) await message.delete() try: From a11a06baab126b7441dcb94c306fa5c836c3daa4 Mon Sep 17 00:00:00 2001 From: EncryptEx Date: Tue, 8 Nov 2022 16:35:19 +0100 Subject: [PATCH 6/6] changed style of warning msg --- bot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot.py b/bot.py index fb3bc12..9e31b2c 100644 --- a/bot.py +++ b/bot.py @@ -363,7 +363,7 @@ async def on_message(message): embed.add_field( name="Not happy with this?", value=f"Disable this feature with ``/settings automod off`` or simply ``/suggest`` a new change", - inline=True, + inline=False, ) await message.channel.send(embed=embed) await message.delete()