Giter Site home page Giter Site logo

role-message-tracker's Introduction

Role Message Tracker

This is a prof of concept for a reddit bot request. The images used in the tutorial for setup are the same for my other bot prof of concepts, while the names in the images for things might not correspond to what this bot is, the steps are the same.

TLDR; Images are for reference only.

Discord Commands

Commands:
rmt! <- Prefix

Command: (you must NOT include the "[]" brackets.)

No Commands.

Setup

  • Click Here to create a bot and invite it to your server as follows

    • Click the 'New Application' button

    New Application

    • Enter a name for this bot and click create (you can name this anything, but it will show in discord this way)

    Name Bot

    • Click the 'Bot' tab under settings on the left toolbar

    Bot Tab

    • Click the 'Add Bot' button

    Add Bot

    • Click 'Yes do it' in the pop-up

    Yes do it

    • Select 'OAuth2' tab under settings on the left toolbar, select 'Bot' from the checkbox, then 'Administrator'. Copy the link from the bottom and paste it into a new tab / window.

    OAuth2

    • Select the server you want to invite the bot to and click 'Authorize'

    Authorize Bot

    • Go back to the developer portal and select the Bot tab again. Then enable to privledged gateway intents

    Gateway Intents

    • Click 'Reset Token' button located under the token, then select 'Copy'.

    Reset Token Copy Token

    • Make sure your discord desktop client is running (this does not work with discord on webclients like chrome etc)

    • Download the latest version of the bot

    • Extract the zip to the desktop or my documents, somewhere you can find it easily.

    • Navigate to the folder and open settings.ini with a text editor like notepad, it will look like this:

[SETTINGS]
Token = ""
Name = "Role Message Tracker"
IconURL = "https://imgur.com/ZRfxJja.png"
Prefix = "rmt!"
Roles = "Developer,Moderator"
Channels = "1087462681608462377,1087462728798584913"
  • Edit the settings with the token we copied in the steps above. Change the name, iconURL, prefix, add roles/channels to the list seperated by a comma as you please.

It is important to note that the order the roles are listed will be the same order for channels, so the first role will be sent to the first channel ID, the second role to the second channel.

  • Once your settings.ini file is saved, you can start 'Simple Poll And Extract.exe'

role-message-tracker's People

Contributors

onisensei avatar

Watchers

 avatar

role-message-tracker's Issues

Using only one Channel/Role results in an index Error

Hey man!

Bot working great, was able to test it today on my Private Discord.

However, if you only track one Role/Channel (not sure yet) you get the following Error:

[ERROR] System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. (Parameter 'index') at System.Collections.Generic.List1.get_Item(Int32 index)
at Role_Message_Tracker.Program.MessageReceivedAsync(SocketMessage message) in C:\Users\tony\source\repos\Role Message Tracker\Role Message Tracker\Program.vb:line 88`

Prefix = "rmt!"
Roles = "Developer"
Channels = "1088148902894653502"

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.