Developed based on Bonfire Paginator
Download paginator.py in the below.
from paginator import Pages
bot = commands.Bot(command_prefix='.', description=description)
....
<?php | |
namespace App; | |
use Illuminate\Database\Eloquent\Model; | |
class Comment extends Model | |
{ | |
public function getConnectionName() | |
{ |
Developed based on Bonfire Paginator
Download paginator.py in the below.
from paginator import Pages
bot = commands.Bot(command_prefix='.', description=description)
....
import discord | |
from discord.ext import commands | |
description = '''An example bot for choosing choice with command extension.''' | |
bot = commands.Bot(command_prefix='.', description=description) | |
@bot.event | |
async def on_ready(): |
import sys | |
import discord | |
from discord.ext import commands | |
description = '''An example bot with dynamic commands.''' | |
bot = commands.Bot(command_prefix='?', description=description) | |
# Simple storage custom command | |
custom_commands = {'test': 'toast'} |
<?php | |
namespace App\Validators; | |
use Illuminate\Contracts\Translation\Translator; | |
use Illuminate\Validation\Validator; | |
class CustomValidator extends Validator | |
{ | |
public function __construct(Translator $translator, array $data, array $rules, |
<?php | |
namespace App\Providers; | |
use Illuminate\Support\Arr; | |
use Illuminate\Support\Facades\Validator; | |
use Illuminate\Support\ServiceProvider; | |
class AppServiceProvider extends ServiceProvider | |
{ | |
public function boot() |