Skip to content

🐈 "Go away, selfbots!" - List of known selfbots IDs and other data to help you keep them away from your server

License

Notifications You must be signed in to change notification settings

LorittaBot/FloppaPowerData

Repository files navigation

🐈 FloppaPower 🐈

List of known selfbots IDs and other data to help you keep them away from your server, contributed by other administrators in the Elite Penguin Force Server. 🐧

πŸ“… Info

πŸ‘¨β€πŸ’» Reading CSVs Examples

Node.js

const csv = require('csv-parser');
const fs = require('fs');

fs.createReadStream('blocked_users.csv')
  .pipe(csv())
  .on('data', (row) => {
    console.log("Please ban ID " + row["user"] + "! Thank you!!")
    console.log();
  })
  .on('end', () => {
    console.log('CSV file successfully processed!');
});

Go

package main

import (
    "encoding/csv"
    "fmt"
    "os"
)

type banData struct {
    user string
    entry string
    valid string
}
func main() {

    csvFile, err := os.Open("blocked_users.csv")
	if err != nil {
		fmt.Println(err)
	}
	fmt.Println("Successfully Opened CSV file!")
	defer csvFile.Close()
    
    csvLines, err := csv.NewReader(csvFile).ReadAll()
    if err != nil {
        fmt.Println(err)
    }    
    for _, line := range csvLines {
        banList := banData{
            user: line[0],
            entry: line[1],
			valid: line[2],
        }
        fmt.Println("User: " + banList.user + ", Entry number: " + banList.entry + ", Valid: " + banList.valid)
    }
}

About

🐈 "Go away, selfbots!" - List of known selfbots IDs and other data to help you keep them away from your server

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published