Modular reusable code + code examples.
By the awesome community.
POST Discord Bot Stats to discordbotlist.com with aiohttp
0 Python 84
Automatically updates and sends data to https://discordbotlist.com. Uses: Python 3.7.2.Discord.py rewrite (commands extension).See an example of this here
Cooldown Time Humanizer
Used to parse time for our bot command cooldowns (https://i.imgur.com/o76f0MA.png) on Dank Memer (https://dankmemer.lol/) Feedback appreciated
Invite begone thot (Discord)
This is used in Dank Memer (https://dankmemer.lol/) to filter out invites from things like the "pls say" command, in order to prevent users from using our bot to advertise.
fleffing discord bot in c sharp can yuo please let my title through
2 C# 160
an initialization of a really bad bot
POST to https://discordbotlist.com/ API using discord.py and Requests
-2 Python 326
Prerequisites: 1[Discord.py rewrite] 2[requests (pip install requests)]
POST stats to DiscordBotList using axios
This is an example of how to POST statistics to DiscordBotList. It uses axios to make the HTTP request. It assumes DBL_TOKEN is an environment variable which is the token provided from…
POST to https://discordbotlist.com/ API using DiscordJS and Snekfetch
Go post those nice bot stats of yours
Method to clean Windows Temp folders.
0 C# 280
Made in C#, this cleans: Windows/Temp.AppData/Local/Temp.
Complex Algorithms used by professionals to eliminate failure
easy. No more crashes 👌
Fetch subreddit posts using Dart IO
0 Dart 246
This function returns a Future that eventually resolves to a List of JSON objects. Each JSON object represents a Reddit POST. Here's a quick example usage:
Read HttpClientResponse into a String
0 Dart 255
Simply pass it the HttpClientResponse you get from request.close() and it'd return a Future that eventually resolves to a String. (maybe use await here) This requires a few obvious stuff:
Example HTTP GET request using Dart IO lib
0 Dart 272
This is a minimalistic example of how you can use HttpClient to send an HTTP GET request and read back the response. As you've already guessed, you can do .post instead of .get for a POST request.…
Simple example on WebSocket connection and data rountrip
0 Dart 279
This is a very minimalistic example of using WebSockets in Dart. Note that this uses dart:io and not dart:html, since this code isn't intended to run in a browser or anything.