Skip to content

notcamelcase01/HybridNyu

Repository files navigation

Nyu

Discord Bot

Discord Bots
A basic Chatting and reminder Bot can send reminder at specified interval of time also can chat with you..
BOT PREFIX

$

Commands and Functions

For Chatting

$c(Your message)

Example:

$cHi Nyu

For Setting Reminder

$reminder_HH:MM:Description #Where HH , MM are number of hours and minutes after you want Bot to send Reminder

Example to send Reminder after 5Hours 40Minutes

$reminder_05:40:ExampleReminder

For Translation

$t Random language 

Example :
$t Hallo, Wie gehts .!

For Help

$help

About Me

$AboutMe

For Alarm

$alarm_HH:MM:Name:repetation

Note
Here Repetation is a number with digits from 1-7 .Each digit represents week day .

  1. Monday
  2. Tuesday
  3. Wednesday
  4. Thursday
  5. Friday
  6. Saturday
  7. Sunday

For Example to set Alarm at 17:20(UTC/GMT time zone) which repeat on Thursday and Saturday everyweek

$alarm_17:20:Example:46

Also all time should be in UTC/GMT time and 24H format to know current UTC/GMT time just type $alarm_.
For getting list of alarms on a particular server and get the ALARM ID

$list_alarm

Delete Alarms

$delete_alarm [ALARM ID]


For Random action you want to do on second person eg kiss,lick,slap etc etc

$a_lick @MentionUser

Example :
@a_kiss @Nyu

Package used

discord.py

Make a Discord Server

https://discordapp.com/

Create an App and bot Account

https://discordapp.com/developers/applications/me
Save Client ID and token

Authorize the bot for your server

https://discordapp.com/oauth2/authorize?client_id=XXXXXXXXXXXX&scope=bot
XXXXXXXXXXXX is your Client ID

How to set up

pip install discord.py

Or

python -m pip install discord.py

API Wrapper

https://github.com/Rapptz/discord.py

API Reference for discord.py

http://discordpy.readthedocs.io/en/latest/api.html

API for GIFs in action function

https://tenor.com/

ThankYou