Skip to content

Instantly share code, notes, and snippets.

View dsgpaiva's full-sized avatar
💼
Working!

David dsgpaiva

💼
Working!
View GitHub Profile
@dsgpaiva
dsgpaiva / config.md
Last active April 15, 2018 11:49
PC Config - Summer 2k18

Summer 2018 PC Build

  • Case: Cooler Master MasterBox Lite 3.1TG -> 54.90€ PCDiga
  • Motherboard: MSI B350M PRO-VDH -> 70.90€ PCDiga
  • CPU: AMD Ryzen 5 1500X -> 142.90€ PCDiga
  • GPU: MSI GeForce GTX 1050 TI Gaming X 4GB -> 204.90€ PCDiga
  • PSU: Corsair VS550W -> 45.90€ PCDiga
  • RAM: Gskill AEGIS DDR4-2400MHz 8GB (1x8GB) CL15 -> 86.20€ PCDiga
  • HDD: Seagate Barracuda 2TB 7200RPM 6GB/s 64MB Cache -> 71.50€ PCDiga
  • SSD: Kingston A40
@dsgpaiva
dsgpaiva / exec.cfg
Last active April 8, 2018 20:13
CS:GO Config
//Rates
rate "128000"
cl_cmdrate "128"
cl_updaterate "128"
cl_interp "0"
cl_interp_ratio "1"
cl_lagcompensation "1"
//Audio
@dsgpaiva
dsgpaiva / keybase.md
Created April 2, 2018 21:15
keybase.md

Keybase proof

I hereby claim:

  • I am pillgp on github.
  • I am pillgp (https://keybase.io/pillgp) on keybase.
  • I have a public key ASD87ELhAJgEJ2poNblRW6IDCg7SYCLaFLppVEjPE7Miqgo

To claim this, I am signing this object:

@dsgpaiva
dsgpaiva / TUTORIAL.md
Created January 23, 2018 00:48
Building your first Discord bot in discord.js

Building your first Discord bot

So, you want to write a bot. Sure, it may seem something from another world like beating the final boss on God of War 3 while playing on the hardcore difficulty, but it's actually pretty basic. Today, we're going to use node.js and discord.js to build your first ever Discord bot!

Step 1: Create an Application & a Bot account

No, you're not going to create an account with an e-mail and password. Discord API which makes the bots work uses tokens. No, not casino tokens. Tokens are often described as a long string of jibberish, and it's almost impossible to remember that code every single time.

Creating the Application