Home:
/:discord://-/- friends:
discord://-/channels/@me/ - nitro:
discord://-/store - shop:
discord://-/shop - message requests:
discord://-/message-requests - family centre:
discord://-/family-center
Note: This is written for those using Python 3 and discord.py, so if you're using something else please reference the relevant documentation for your language or library if you choose to use this as a general reference.
On Discord, there are two different emoji types:
Each needs to be handled differently, as while unicode emoji are just simple unicode characters, Discord custom emoji are special objects available only in Discord, belonging to a specific Discord guild and having their own snowflake ID.
| import math | |
| def sqrt(x_0, guess, tol): | |
| x = guess | |
| while math.fabs(x*x - x_0) > tol: | |
| x = (x*x - x_0) / (2.0 * x) | |
| return x | |
| print(sqrt(2.0, 2.0, 0.0001)) |
| <?php | |
| namespace App\Providers; | |
| use Illuminate\Http\Request; | |
| use Illuminate\Routing\Route; | |
| use Illuminate\Support\ServiceProvider; | |
| use App\Http\Middleware\CaptureRequestExtension; | |
| class AppServiceProvider extends ServiceProvider |
| <?php | |
| namespace App\Commands\Database; | |
| use Illuminate\Support\ServiceProvider; | |
| class BindDatabaseServiceProvider extends ServiceProvider | |
| { | |
| public function boot() | |
| { |
| <?php | |
| namespace App\Commands; | |
| use Illuminate\Console\Command; | |
| class DescTableCommand extends Command | |
| { | |
| /** | |
| * The name and signature of the console command. |