Skip to content

Instantly share code, notes, and snippets.

@ppwater01
Last active January 17, 2021 12:59
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ppwater01/9379403e6544efb67d7b35379b797e19 to your computer and use it in GitHub Desktop.
Save ppwater01/9379403e6544efb67d7b35379b797e19 to your computer and use it in GitHub Desktop.

Commands

(every command has to start with pb)

Already done commands

To all user privileged users

say sentence: Says sentence
commands: shows commands
alive: random message if alive, nothing if not.
blame: blames one person. (Going to improve this later)
call someone: calls someone.
coffee someone: gives coffee to someone. someone is optional (if you don't include, you will get the drink)
tea someone: gives tea to someone. someone is optional (if you don't include, you will get the drink)
help: help message (I'm thinking to change this to info)
randomnum a b: Generates a random number from a to b
amiadmin : Checks if You are an admin
whoisadmin : Gives admin list.
amiowner: checks if you are an owner
whoisowner: owner list
time utc: time in utc (going to do time contry later)
addjoke q>!a: Adds a joke
joke: tells a random joke.

Admin only

leave (admin only) Makes the bot leave the room. Don't use this often
join roomid (admin only) : joins a room (I made it, but it is confusing rooms when joined more then 2 rooms. Anyone wants to fix it? ping me)

Owner only

grant userid priv (owner only) : Grants a privilege to a user
remove userid priv (owner only) : removes a privilege from a user
stop (owner only) : Makes the bot stop. Only use this in emergencies

project manager only

pb debug on/off (project manager only): debug mode on / off grant userid project_manager (project manager only): grants project_manager privilege to a user

Not done, but going to do it

cal equation: calculate the equation
status: status of each person's messsages. restart: restarts the bot.

@ppwater01
Copy link
Author

ppwater01 commented Jan 4, 2021

please suggest more things in comments

@ppwater01
Copy link
Author

If anything to remove, comment please

@Tech-Expert-Wizard
Copy link

Um, why is the section "list manager only" empty?

@ppwater01
Copy link
Author

Um, why is the section "list manager only" empty?

Ah, because there is nothing.. I will delete that. thanks for the reply.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment