Skip to content

shaunidiot/SteamBotBanList

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

SteamBotBanList

A SteamBot extension for managing bans.

Installation

Download FriendsBanList.cs and import it into your SteamBot project

Usage

Initialise FriendsBanList ban = new FriendsBanList (); in class.

Methods

void ListAll() - List all banned IDs in console

bool IsBanned(ulong steam64) - Check if Steam64 ID is banned

bool AddBan(Bot bot, ulong steam64, bool banProfile) - Add ban for user

bool RemoveBan(Bot bot, ulong steam64, bool unbanProfile) - Remove ban for user

Example

        public override bool OnFriendAdd () {
            if (!ban.IsBanned(OtherSID)) {
                Bot.log.Success("User added me");
                return true;
            } else {
                ban.AddBan(Bot, OtherSID, true); // add to ban list + block user profile
            }
            return false;
        }

About

SteamBot's extension. Personal Steam ID ban list.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages