#Custom Game Status for bot
1 messages · Page 1 of 1 (latest)
./tag activity
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,
),
)```
is that what you are looking for?
i believe so, but I tried that from another support thread and it didnt work.
what exactly didnt work?
@clever ocean whilst we are at it, could you help me with something else please
shoot
./tag embed
embed is not a valid tag.
./tag embeds
@clever ocean The embeds arent working
define not working
there is no / commands or anything showing related to the embed.
why would the embed have an / command associated to it?
im not too sure on what you are trying to achive
i don't understand how to use it
@rose grotto eval ```py
embed = hikari.Embed(title="Hi!")
await bot.rest.create_message(1072616631664132196, embed=embed)
thats pretty much it
docs for more info is here
it just runs the code i asked it to
that is specific to this case
it is the ID of this thread
you dont need to use it
you probably will use await ctx.respond(embed=embed) instead
okay, how to i trigger the bot to send the embed
I am using both hikari and lightbulb i think
thats your guide then
i dont understand this https://hikari-lightbulb.readthedocs.io/en/latest/hikari_basics/embeds.html