I'm an adult
This commit is contained in:
parent
6192d87840
commit
a2e8f4b3eb
@ -343,7 +343,7 @@ class Admins(commands.Cog):
|
||||
|
||||
output_string += f'\nJust sent keeper message to sba-network-news'
|
||||
await interaction.edit_original_response(content=output_string)
|
||||
|
||||
|
||||
@commands.command(name='migrate-players', help='Migrate players between "same-set" seasons')
|
||||
@commands.has_any_role('Da Commish')
|
||||
async def migrate_players(self, ctx, from_season: int, to_season: int):
|
||||
|
||||
@ -331,6 +331,21 @@ class Players(commands.Cog):
|
||||
await message.channel.send(
|
||||
'https://tenor.com/view/dad-jokes-aht-aht-dad-jokes-aht-aht-ha-ha-ha-knee-slapper-gif-26152690'
|
||||
)
|
||||
elif '||' in tm:
|
||||
split_text = tm.split('||')
|
||||
spoiler_text = split_text[1]
|
||||
if len(split_text) > 3 and 'z' not in spoiler_text:
|
||||
chance = 'Low'
|
||||
elif 8 <= len(spoiler_text) <= 10:
|
||||
chance = 'High'
|
||||
elif 'z' in spoiler_text:
|
||||
chance = 'Medium'
|
||||
else:
|
||||
chance = 'Low'
|
||||
|
||||
ping_role = get_role(message, 'Deez Watch', self.bot)
|
||||
await message.channel.send(f'{ping_role.mention} there is a **{chance}** chance this is a deez nuts joke.')
|
||||
|
||||
# elif 'fifa' in tm or 'soccer' in tm or 'world cup' in tm or 'the wc' in tm or 'this wc' in tm or 'futbol' in tm:
|
||||
# randint = random.randint(1, 5)
|
||||
# if randint == 5:
|
||||
|
||||
@ -4,7 +4,7 @@ import copy
|
||||
from helpers import *
|
||||
from db_calls import db_get, db_patch, get_team_by_owner, get_team_by_abbrev, get_player_by_name, patch_player, db_post
|
||||
from discord.ext import commands, tasks
|
||||
OFFSEASON_FLAG = False
|
||||
OFFSEASON_FLAG = True
|
||||
|
||||
|
||||
class SBaTransaction:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user