added counting setcount
This commit is contained in:
parent
caaedc11db
commit
40dd37de00
@ -30,6 +30,12 @@ class Counting(commands.Cog):
|
|||||||
db = storage(ctx.guild.id, self.bot.db).db
|
db = storage(ctx.guild.id, self.bot.db).db
|
||||||
db('counting', 'channel', ctx.channel.id)
|
db('counting', 'channel', ctx.channel.id)
|
||||||
await ctx.send(f"counting channel set to {db('counting', 'channel')}")
|
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}")
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
2
push.sh
2
push.sh
@ -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
|
#docker build -t turdweb -f flask/Dockerfile . && docker push ionburger/turdweb
|
||||||
Loading…
Reference in New Issue
Block a user