2.2.1 • Published 3 years ago

discord-messenger v2.2.1

Weekly downloads
-
License
ISC
Repository
github
Last release
3 years ago

How to use

const messenger = DiscordMessenger.getMessenger(options);
const bot = messenger.getBot(commands);
bot.on("ready", async () => {
  console.log(`Ready`);
});

messenger.transmitDeveloperNotification("Developer notification");
messenger.transmitDiscordNotification(
  "Author",
  `Discord bot notification`,
  {
    cooldownKey: "disabled", // Typically there is a 15 min cooldown between transmissions with the same author and message or the same Author + Message. Setting to "disabled" disables the cooldown feature.
    users: [DiscordUser1, DiscordUser2]
  }
);
2.2.1

3 years ago

2.2.0

3 years ago

1.2.0

3 years ago

2.1.2

3 years ago

2.1.1

3 years ago

2.1.0

3 years ago

2.0.0

3 years ago

1.1.0

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago