Modular reusable code + code examples.
By the awesome community.
Post Discord bot status to discordbotlist.com
This is a code snippet to be used in the ready event for your Discord.JS bot. Rather than using snekfetch, it uses node-superfetch, a module that is not deprecated. Unless you use an event handler,…
POST Discord Bot Stats to discordbotlist.com with aiohttp
0 Python 166
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# 213
an initialization of a really bad bot
POST to https://discordbotlist.com/ API using discord.py and Requests
-2 Python 385
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# 314
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 282
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 309
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 323
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.…