switch263 / BLBot

Discord bot for my gaming server full of idiots
1 stars 1 forks source link

Create dueling cog (with stats!). #59

Closed zfouts closed 7 months ago

zfouts commented 7 months ago

Inspired by the fight cog, this incorporates an automatic 2/3 winner.

Has a cooldown implemented, you can configure it with environment variable "COOLDOWN_TIME" -- it has a default of 60 seconds. Value must be in number of seconds.

Example:

Zach — Today at 3:31 PM
!duel @ItsPrimetime
Zanchez BOT — Today at 3:32 PM
ATTENTION EVERYONE....@Zach has challenged @ItsPrimetime to a duel... let the battle commence, best 2/3
ROUND 1
Witness the clash of titans!
An epic clash of keyboards!
SLAM! WHACK! WHACK! @ItsPrimetime decisive over @Zach using a series of bewildering dance moves.
ROUND 2
May the odds be ever in your favor (or not)...
They unleash a devastating emote barrage!
WHACK! TICKLE! WHACK! @Zach dazzling over @ItsPrimetime with the help of a legendary shield bash.
ROUND 3
May the odds be ever in your favor (or not)...
A surprise meme attack! It's super effective!
BOOM! SLAP! SLAP! @ItsPrimetime unexpectedly fortunate over @Zach using a the power of an obscure fandom wiki.
GAME OVER! Victory to...
@ItsPrimetime!! Annihilation! Utter domination!