Skip to content

jiawei-zheng-0/devourbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Discord Bot

python 2.7 must be installed

visual studio 2015 must be installed if running on windows

npm config set msvs_version 2015 --global

run npm install

Requires a config.json and a credentials.json file

config.json

{
    "token": "<Discord bot token>",
    "room": "<Name of room to listen for commands>",
    "memberRole": "<Role of members that can use bot>",
    "sheetID": "<id of google sheet for SMH>",
    "totalRange": "<Range of the cell that contains weekly total>",
    "idCell": "<Cell to insert ID for individual total>",
    "individualTotalCell": "<Cell to retrieve individual total>",
    "summaryIDCell": "<Cell to insert ID for summary>",
    "summaryRange": "<Range of cells containing summary info>",
    "warChannelID": "<ID of war channel>",
    "attendanceSheetID": "<id of google sheet containing attendance>",
    "modRole": "<Role of members that can use attendance function>",
    "IDTable": "<Range of mapping of ID to name>",
    "attendanceRange": "<Range of cells containing attendance info>"
}

credentials.json is avaliable by creating a new GCP project and adding OAuth2 credentials

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors