#Custom Game Status for bot

1 messages · Page 1 of 1 (latest)

midnight rampart
#

Hey, can someone please help me with game status for my bot. It is using lightbulb I believe.

clever ocean
#

./tag activity

royal karmaBOT
#
bot = hikari.GatewayBot(token)

# When the presence is static
bot.run(
    status=hikari.Status.DO_NOT_DISTURB,
    activity=hikari.Activity(
        name="you learn hikari!",
        type=hikari.ActivityType.WATCHING,
    ),
)

# OR
# When you need to update while the bot is running
await bot.update_presence(
    status=hikari.Status.DO_NOT_DISTURB,
    activity=hikari.Activity(
        name="you learn hikari!",
        type=hikari.ActivityType.WATCHING,
    ),
)```
clever ocean
#

is that what you are looking for?

midnight rampart
#

i believe so, but I tried that from another support thread and it didnt work.

clever ocean
#

what exactly didnt work?

midnight rampart
clever ocean
#

only focus on this

#

add it to your bot.run

midnight rampart
#

Okay, I have done

#

Yay! Thank you so much!

midnight rampart
#

@clever ocean whilst we are at it, could you help me with something else please

clever ocean
#

shoot

midnight rampart
#

Embed / commands

clever ocean
#

./tag embed

royal karmaBOT
#

embed is not a valid tag.

tacit night
#

./tag embeds

midnight rampart
#

@clever ocean The embeds arent working

clever ocean
#

define not working

midnight rampart
#

there is no / commands or anything showing related to the embed.

clever ocean
#

why would the embed have an / command associated to it?

#

im not too sure on what you are trying to achive

midnight rampart
#

i don't understand how to use it

clever ocean
#

@rose grotto eval ```py
embed = hikari.Embed(title="Hi!")

await bot.rest.create_message(1072616631664132196, embed=embed)

rose grottoBOT
#
Hi!
clever ocean
#

thats pretty much it

midnight rampart
#

how did you do that.

#

oh

#

1072616631664132196 what does this go to

clever ocean
#

it just runs the code i asked it to

clever ocean
#

it is the ID of this thread

#

you dont need to use it

#

you probably will use await ctx.respond(embed=embed) instead

midnight rampart
#

okay, how to i trigger the bot to send the embed

clever ocean
#

i am assuming you are using lightbulb

midnight rampart
#

I am using both hikari and lightbulb i think

clever ocean
#

thats your guide then