Fixed up the deprecation warning, and made the LOG_CHANNEL an optional feature. Also added a walrus operator (:=) to simplify the assignment -> conditional.
There was a major issue where you can have multiple bots that have a /bump command it would trigger the first one found. Instead you can use the specific id/application_id found in the attributes of discord.commands.SlashCommand.
Fixed up the deprecation warning, and made the
LOG_CHANNEL
an optional feature. Also added a walrus operator (:=
) to simplify the assignment -> conditional.There was a major issue where you can have multiple bots that have a
/bump
command it would trigger the first one found. Instead you can use the specificid
/application_id
found in the attributes ofdiscord.commands.SlashCommand
.