Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

267 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ruythcore

discord pypi Python

Install

pip install ruythcore

Bot Example

import ruythcore

bot = ruythcore.Client("YOUR_TOKEN_HERE", prefix="!")

@bot.command("ping")
async def ping(ctx):
    await ctx.reply("🏓 Pong from RuythCore!")

@bot.slash_command("hello")
async def hello(ctx):
    await ctx.reply("Hello from RuythCore!")

@bot.events.on("ready")
async def on_ready(data):
    print("Ready ✅")

bot.start()
Note: Replace YOUR_BOT_TOKEN with your TOKEN . Do not share TOKEN.

Run

python <namefile>.py
When showing "RuythCore Ready ✅ is successful.

Link

Docs

Server

Discord API

About

This is a library for Discord Bot written in Python

Resources

Contributing

Stars

2 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages