Skip to content

Grape-Labs/grape-outputmessage

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Grape Labs - Discord Verification Channel Output Message Bot (1/3)

Discord.js simple script to output custom verification message on any channel the bot has permissions to.

Table of contents

Discord

  • Go to Discord Application Developer Portal and create a new application.
  • Copy the bot ID found in General Information under Application ID (that's the bot ID).
  • Once application is created, click on the Bot section and select Add Bot.
  • Click Copy on Token section (you will need this token in the .env file which you will rename in the steps below), otherwise click on re-generate button if Copy button doesn't show up.
  • To enable developer mode, go to User Settings --> Advanced --> Toggle Developer Mode button.
  • On your discord server, create a new channel for verification.
  • Right click the newly created channel and select 'Copy ID'.
  • Invite the bot to the server using the following link: https://discord.com/oauth2/authorize?client_id="YOURBOTIDHERE"scope=bot&permissions=88382860368

Discord Channel Permissions

  • In your chosen channel, add your bots (or GRAPE#0192 if invited) user and add the following permissions:
    • View Channel, Manage Channel, Send Messages, Add Reactions, Use External Emoji, Manage Messages and Read Message History.

Setup

  • npm install --> To install necessary packages.
  • In root folder, rename the env_example to .env (or copy).
  • Edit .env file and set YOUR Discord bot Token (DISCORD_BOT_TOKEN) along with verification channel ID (DISCORD_CHANNEL_ID).
  • To run bot enter npm run outputmessage

Customize

  • To edit output message to go /discord/role-claim.js
  • If you'd like to edit the emoji, change 'grapes' with the name of your CUSTOM emoji.

  • Similarly, you can edit emojiText & emojiText2 to choose what message the bot outputs.

  • If you've deployed your OWN dashboard, edit the reference below:

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published