Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/randomairborne/discord-powertools

Discord PowerShell utilities
https://github.com/randomairborne/discord-powertools

discord powershell scraping

Last synced: 20 days ago
JSON representation

Discord PowerShell utilities

Awesome Lists containing this project

README

        

# discord-powertools

discord-powertools is a collection of powershell scripts to manage your discord server en masse.

## Why powershell?

Powershell runs on any device, and has a large amount of very powerful builtins. Get it [here](https://learn.microsoft.com/en-us/powershell/scripting/install/installing-powershell) from microsoft.

## AddRoleToUsers

**Requires `$DiscordToken` in Vars.ps1**

```powershell
./AddRoleToUsers.ps1 -GuildId -RoleId
```

Can also take -Remove if you want to remove the role

Reads input from the `-InputFile` (default `./Input/RoleList.txt`)

## ChangeEveryonesNickname

```powershell
./ChangeEveryonesNickname.ps1 -GuildId -Nick
```

**Requires `$DiscordToken` in Vars.ps1**

Leave `Nick` blank to reset names

Reads input from the `-InputFile` (default `./Input/NicknameList.txt`)

## Mee6ToUsersTxt

```powershell
./Mee6ToUsersTxt.ps1
```

Reads input from the `-InputFile` (default `./Input/Mee6Leaderboard.json`)

## ScrapeDynoApi

```powershell
./ScrapeDynoApi.ps1 -GuildId
```

**Requires `$DynoSid` in Vars.ps1**

You can get your DynoSid from your cookies on [dyno.gg](https://dyno.gg), copy the part after `dynobot.sid=`

## ScrapeMee6Api

```powershell
./ScrapeMee6Api.ps1 -GuildId -LastLevel
```