Compare commits
No commits in common. "8e6a6418fa8b9b30ca785e8f1df1e5dd8785ba61" and "f20ec50cdc4c9af148eb9bee501de19e022508c7" have entirely different histories.
8e6a6418fa
...
f20ec50cdc
2 changed files with 4 additions and 11 deletions
|
@ -7,10 +7,10 @@ jobs:
|
|||
container: catthehacker/ubuntu:act-latest
|
||||
strategy:
|
||||
matrix:
|
||||
python-version: ["3.11.5"]
|
||||
python-version: ["3.11.2"]
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3.6
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
token: ${{ secrets.COASTALCOMMITSTOKEN}}
|
||||
- name: Set up Python ${{ matrix.python-version }}
|
||||
|
@ -22,5 +22,5 @@ jobs:
|
|||
python -m pip install --upgrade pip
|
||||
pip install pylint
|
||||
pip install -U Red-DiscordBot pytimeparse2 yt-dlp
|
||||
- name: Analysing the code with Pylint
|
||||
- name: Analysing the code with pylint
|
||||
run: pylint $(git ls-files '*.py')
|
||||
|
|
|
@ -37,14 +37,7 @@ class Galaxy(commands.Cog):
|
|||
await ctx.send(f"Output link: {output}")
|
||||
|
||||
@commands.Cog.listener('on_message')
|
||||
async def gank_won_let_us_flee(self, message: discord.Message):
|
||||
if message.guild.id == 204965774618656769 and message.channel.id == 753714180900519937 and message.author.id == 745790085789909033:
|
||||
embeds = message.embeds
|
||||
if len(embeds) == 1 and embeds[0].color == '#57f288':
|
||||
await message.reply("https://media.discordapp.net/attachments/409210244619698176/1115473811819737149/attachment.gif")
|
||||
|
||||
@commands.Cog.listener('on_message')
|
||||
async def autoreact(self, message: discord.Message):
|
||||
async def autoreact(self, message):
|
||||
if message.guild is not None:
|
||||
emoji_id = await self.config.guild(message.guild).autoreact_emoji()
|
||||
if self.check_if_discord_unicode_emoji(emoji_id) is False:
|
||||
|
|
Loading…
Reference in a new issue