Skip to content

bir-d/input-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

icon

input-bot

Quick discord bot written with discord.py, made for Uncharity Vigil 2023.

Uses shelve for persistent storage and pynput for pressing keys on the host :)

Install

Install requirements (check requirements file)

Edit .env with your bot token and authentication role, invite the bot to your server

Run main.py

Usage

FIRST TIME: Server owner should run $sync to push slash commands to discord

$setcredits <USER> <NUMBER>($scr): sets a given users credit count to the number given

$addcredits <USER> <NUMBER>($acr): adds a given amount of credits to the given user

$credits <USER>($cr): prints the current amount of credits held by the given user

$sendinput <INPUT>($si) : Sends the given input to the computer, uses 1 credit. An input is a character, or a string consisting of a Key, or a KeyCode

$sendinputstring <INPUTSTRING> <DELAY>($sis): Iterates through the characters in INPUTSTRING and sends each to the computer with a delay of DELAY ms between each one.

About

Discord bot written with discord.py, made for Uncharity Vigil 2023

Topics

Resources

Stars

Watchers

Forks