v3 API Updates - admins, transactions
This commit is contained in:
parent
af5ca46925
commit
0ccc60deb4
@ -65,11 +65,11 @@ class Admins(commands.Cog):
|
||||
logging.error(f'Error blasting a message: {type(e)}: {e}')
|
||||
await interaction.response.send_message(content=f'Uh oh\n\n{type(e)}: {e}')
|
||||
|
||||
@commands.command(name='sendstats', help='all, batting, pitching')
|
||||
@commands.is_owner()
|
||||
async def send_stats_command(self, ctx, which='all'):
|
||||
trans_cog = self.bot.get_cog('Transactions')
|
||||
await trans_cog.send_stats_to_sheets(which=which)
|
||||
# @commands.command(name='sendstats', help='all, batting, pitching')
|
||||
# @commands.is_owner()
|
||||
# async def send_stats_command(self, ctx, which='all'):
|
||||
# trans_cog = self.bot.get_cog('Transactions')
|
||||
# await trans_cog.send_stats_to_sheets(which=which)
|
||||
|
||||
@commands.command(name='test', hidden=True)
|
||||
@commands.is_owner()
|
||||
|
||||
1246
cogs/transactions.py
1246
cogs/transactions.py
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user