Skip to content

Utilizar o Discord Rich Presence para mostrar a atividade atual do bot #34

@mellomaths

Description

@mellomaths

Biblioteca:

Código de exemplo:

const client = require('discord-rich-presence')('180984871685062656');

client.updatePresence({
  state: 'slithering',
  details: '🐍',
  startTimestamp: Date.now(),
  endTimestamp: Date.now() + 1337,
  largeImageKey: 'snek_large',
  smallImageKey: 'snek_small',
  instance: true,
});

Metadata

Metadata

Assignees

No one assigned

    Labels

    IMPROVEMENTIssues relacionadas a melhorias

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions