Ask coding questions

← Back to all posts
LukeWright (287)

Is it possible to make a minigame with the discord bot that i am created that gives people points for every message that they send, and then allows them to gamble those points for more points? thanks!

Answered by Coder100 (18200) [earned 5 cycles]
View Answer
Coder100 (18200)

looks like you already have it

then, you could probably do something like this;

from replit import db

async def on_message(message):
  if != client.user:
    if client.user not in db: db[client.user] = 0
    db[client.user] += 1

note your code doesn't even run atm lol

LukeWright (287)

alright thanks. also, whats atm? @Coder100