aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-x[-rw-r--r--].gitignore0
-rwxr-xr-x[-rw-r--r--].vscode/settings.json0
-rwxr-xr-x[-rw-r--r--]bot.py0
-rwxr-xr-x[-rw-r--r--]cogs/admin.py0
-rwxr-xr-x[-rw-r--r--]cogs/general.py0
-rwxr-xr-x[-rw-r--r--]cogs/help.py0
-rwxr-xr-x[-rw-r--r--]cogs/logs.py14
-rwxr-xr-x[-rw-r--r--]cogs/player.py0
-rwxr-xr-x[-rw-r--r--]cogs/src.py0
-rwxr-xr-x[-rw-r--r--]cogs/trans.py0
-rwxr-xr-x[-rw-r--r--]cogs/utils.py0
-rwxr-xr-x[-rw-r--r--]custom_commands.json0
-rwxr-xr-x[-rw-r--r--]main.py0
-rwxr-xr-x[-rw-r--r--]palette.pngbin591 -> 591 bytes
-rw-r--r--requirements.txt1
15 files changed, 12 insertions, 3 deletions
diff --git a/.gitignore b/.gitignore
index e63e2cc..e63e2cc 100644..100755
--- a/.gitignore
+++ b/.gitignore
diff --git a/.vscode/settings.json b/.vscode/settings.json
index 478c149..478c149 100644..100755
--- a/.vscode/settings.json
+++ b/.vscode/settings.json
diff --git a/bot.py b/bot.py
index 4bcb9b7..4bcb9b7 100644..100755
--- a/bot.py
+++ b/bot.py
diff --git a/cogs/admin.py b/cogs/admin.py
index 3cb7ff8..3cb7ff8 100644..100755
--- a/cogs/admin.py
+++ b/cogs/admin.py
diff --git a/cogs/general.py b/cogs/general.py
index ff60bb7..ff60bb7 100644..100755
--- a/cogs/general.py
+++ b/cogs/general.py
diff --git a/cogs/help.py b/cogs/help.py
index 91c9c45..91c9c45 100644..100755
--- a/cogs/help.py
+++ b/cogs/help.py
diff --git a/cogs/logs.py b/cogs/logs.py
index cd55c36..ea3870a 100644..100755
--- a/cogs/logs.py
+++ b/cogs/logs.py
@@ -8,6 +8,8 @@ class Logs(commands.Cog):
@commands.Cog.listener()
async def on_message_delete(self, message):
+ if message.guild.id != 574267523869179904:
+ return
channel = self.bot.get_channel(718187032869994686)
embed = discord.Embed(
title='Deleted Message',
@@ -17,22 +19,28 @@ class Logs(commands.Cog):
embed.add_field(
name='User', value=message.author.mention, inline=True)
embed.add_field(
- name='Channel', value=message.channel.name, inline=True)
+ name='Channel', value=message.channel.mention, inline=True)
embed.add_field(name='Message', value=message.content, inline=False)
await channel.send(embed=embed)
@commands.Cog.listener()
async def on_message_edit(self, before, after):
+ if after.guild.id != 574267523869179904:
+ return
channel = self.bot.get_channel(718187032869994686)
+ if before.author.color.value == 0:
+ color = 16777210
+ else:
+ color = before.author.color
embed = discord.Embed(
title='Edited Message',
- color=before.author.color,
+ color=color,
timestamp=after.edited_at
)
embed.add_field(
name='User', value=before.author.mention, inline=True)
embed.add_field(
- name='Channel', value=before.channel.name, inline=True)
+ name='Channel', value=before.channel.mention, inline=True)
embed.add_field(name='Original Message',
value=before.content, inline=False)
embed.add_field(name='New Message', value=after.content, inline=False)
diff --git a/cogs/player.py b/cogs/player.py
index 5c046a7..5c046a7 100644..100755
--- a/cogs/player.py
+++ b/cogs/player.py
diff --git a/cogs/src.py b/cogs/src.py
index 96bf53c..96bf53c 100644..100755
--- a/cogs/src.py
+++ b/cogs/src.py
diff --git a/cogs/trans.py b/cogs/trans.py
index 2c6ed71..2c6ed71 100644..100755
--- a/cogs/trans.py
+++ b/cogs/trans.py
diff --git a/cogs/utils.py b/cogs/utils.py
index e9943ee..e9943ee 100644..100755
--- a/cogs/utils.py
+++ b/cogs/utils.py
diff --git a/custom_commands.json b/custom_commands.json
index c87825f..c87825f 100644..100755
--- a/custom_commands.json
+++ b/custom_commands.json
diff --git a/main.py b/main.py
index 9f713bf..9f713bf 100644..100755
--- a/main.py
+++ b/main.py
diff --git a/palette.png b/palette.png
index 973a599..973a599 100644..100755
--- a/palette.png
+++ b/palette.png
Binary files differ
diff --git a/requirements.txt b/requirements.txt
index 27cdf39..82189b6 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -15,3 +15,4 @@ requests==2.22.0
selenium==3.141.0
six==1.12.0
subprocess32==3.5.4
+youtube_dl>=2020.6.6