added counting setcount

This commit is contained in:
Ian Burgess 2024-06-12 21:33:27 -06:00
parent caaedc11db
commit 40dd37de00
2 changed files with 7 additions and 1 deletions

View File

@ -30,6 +30,12 @@ class Counting(commands.Cog):
db = storage(ctx.guild.id, self.bot.db).db
db('counting', 'channel', ctx.channel.id)
await ctx.send(f"counting channel set to {db('counting', 'channel')}")
@bridge.bridge_command()
async def setcount(self, ctx, args):
db = storage(ctx.guild.id, self.bot.db).db
db('counting', 'count', args)
await ctx.send(f"count set to {args}")

View File

@ -1,2 +1,2 @@
docker build -t turdbot -f bot/Dockerfile . && docker push ionburger/turdbot
docker build -t turdbot:latest -f bot/Dockerfile . && docker push ionburger/turdbot:latest
#docker build -t turdweb -f flask/Dockerfile . && docker push ionburger/turdweb