screeps-discord

1.0.15 • Public • Published

screeps-discord

How it works

The bot will find all the users in the authenticated channel. It will match against any user who's name or channel nickname match their screeps username.

Create a bot

See https://discordpy.readthedocs.io/en/latest/discord.html

Make to sure to allow "Send Messages" permissions.

Add the following configs to config.yml

discordBot:
  token=your_bot_token # from discord at https://discordapp.com/developers/applications/
  testUsername=your_discord_username # used for testing 

Testing

If you properly set the discordBot.testUsername config, you will recieve a "Screeps is online" message to your discord username.

/screeps-discord/

    Package Sidebar

    Install

    npm i screeps-discord

    Weekly Downloads

    1

    Version

    1.0.15

    License

    MIT

    Unpacked Size

    5.04 kB

    Total Files

    6

    Last publish

    Collaborators

    • danielheyman